package com.example.homework_20220930;

public class Property {
    int proValue;
    int insTime;

    public Property(){
        proValue = Main.getInfo("Please enter the value of your property:");
        insTime = Main.getInfo("Please enter the time of your insurance(years):");

        System.out.println("The insurance fee of your property is " + proValue * insTime / 1000 + " yuan.");
    }
}
